from django.urls import path

from user import views

urlpatterns = [
    path('code/', views.SendCode.as_view()),
    path('login/', views.LoginView.as_view()),
    path('register/', views.RegisterView.as_view()),
    path('getalladd/', views.AddressView.as_view()),
    path('getoneadd/', views.GetAddress.as_view()),
    path('addadd/', views.NewAddressView.as_view()),
    path('updadd/', views.UpdAddressView.as_view()),
    path('deladd/', views.DelAddressView.as_view()),
    path('changedef/', views.ChangeDef.as_view()),
    path('changeselect/', views.ChangeSelect.as_view()),
    path('getselectid/', views.GetSelectId.as_view()),
    path('getuser/', views.GetUserView.as_view()),
    path('upduser/', views.UpdUser.as_view()),
]
